package com.asset.account.dao.mapper;

import com.asset.account.dao.entity.AccountEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 账户Mapper
 * </p>
 *
 * @author 牧之
 * @date 2024/2/7 10:04
 */
public interface IAccountMapper {

    AccountEntity getById(@Param("id") Long id);

    void update(@Param("updateEntity") AccountEntity updateEntity);

    AccountEntity getByUserId(@Param("userId") Long userId);

    void insert(@Param("accountEntity") AccountEntity accountEntity);
}
